import Mock from 'mockjs'

let data = (params) => {
  return Mock.mock({
    stateCode: 0,
    message: 'OK',
    content: `请求路径：${params.url}</br>请求类型：${params.type}</br>请求体：${params.body || '无'}`
  })
}

export default data